package com.qilu.careprogram.dao;

import com.qilu.careprogram.pojo.MedicineInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface MedicineDao {
    List<MedicineInfo> selectMedicationRecordsByHospitalNumber(
            @Param("hospitalNumber") String hospitalNumber,
            @Param("start") Integer start,
            @Param("size") Integer size);

    void addMedicineInfo(MedicineInfo medicineInfo);

    void updateMedicineInfo(MedicineInfo medicineInfo);

    void deleteMedicineInfo(MedicineInfo medicineInfo);
}
